package gat.dto.req;

import org.springframework.validation.annotation.Validated;

import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Validated
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel
public class QueryPageDto {

    /**
     * 当前页 varchar
     */
    @ApiModelProperty(value = "当前页")
    @JsonProperty(index = 10)
    private Integer currentPage = 1;

    /**
     * 页面大小
     */
    @ApiModelProperty(value = "页面大小")
    @JsonProperty(index = 10)
    private Integer pageSize = 10;
}
